package io.bdmc.modules.bss.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceMachineRfa;
import io.bdmc.modules.bss.mapper.DeviceMachineRfaMapper;
import io.bdmc.modules.bss.service.IDeviceMachineRfaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * rfa盘数据 服务实现类
 * </p>
 *
 * @author 黄露
 * @since 2021-04-28
 */
@Service
public class DeviceMachineRfaServiceImpl extends ServiceImpl<DeviceMachineRfaMapper, DeviceMachineRfa> implements IDeviceMachineRfaService {
    @Autowired
    DeviceMachineRfaMapper _devicemachinerfaMapper;

    @Override
    public MyPage<DeviceMachineRfa> mySelectPage(MyPage<DeviceMachineRfa> myPage) {
        return _devicemachinerfaMapper.mySelectPage(myPage);
    }

    @Override
    public MyPage<DeviceMachineRfa> selectPage(MyPage<DeviceMachineRfa> rfaPage, QueryWrapper<DeviceMachineRfa> w5) {
        return _devicemachinerfaMapper.selectPage(rfaPage,w5);
    }

    @Override
    public DeviceMachineRfa selectLastRfaData(String diskSn) {
        
        return _devicemachinerfaMapper.selectLastRfaData(diskSn);
    }
}
